package com.fs.json.basequ;

import java.io.Serializable;

/**
 * @ClassName:BaseQuAnswerDto.java
 * @Description:答案
 * @author yunfei.qi
 * @date 2016年12月28日 下午8:51:21 
 */
public class BaseQuAnswerDto implements Serializable{
	
	/**
	 * 答案id
	 */
	private Long id;
	/**
	 * 关联问题id
	 */
	private Long questionId;
	/**
	 * 答案内容
	 */
	private String answer;
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public Long getQuestionId() {
		return questionId;
	}


	public void setQuestionId(Long questionId) {
		this.questionId = questionId;
	}


	public String getAnswer() {
		return answer;
	}


	public void setAnswer(String answer) {
		this.answer = answer;
	}


	public BaseQuAnswerDto() {
		super();
	}


	public BaseQuAnswerDto(Long id, Long questionId, String answer) {
		super();
		this.id = id;
		this.questionId = questionId;
		this.answer = answer;
	}

	@Override
	public String toString() {
		return "BaseQuAnswerDto{" +
				"id=" + id +
				", questionId=" + questionId +
				", answer='" + answer + '\'' +
				'}';
	}
}
